package com.example.model;


import java.io.Serializable;

/**
 * @description:
 * @program: demos
 * @author: dove
 * @date: 2020-12-09 00:31
 **/
public class User implements Serializable {
    private static final long serialVersionUID = 3071991099975524488L;
    private String name;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
